<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
	<title>printArea</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	
	<link rel="stylesheet" type="text/css" href="${resRoot}/css/index.css" />
	
	<script type="text/javascript" src="${resRoot}/js/common/jquery.min.js"></script>
	<script type="text/javascript" src="${resRoot}/js/common/jquery.PrintArea.js"></script>
	
	<script type="text/javascript">
		$(function(){
			$("#btnPrint").click(function(){
				$("#printContent").printArea({}); 
			});
		});
	</script>
	
	
</head>
<body>
	<input type="button" id="btnPrint" value="打印"/>
	<div id="printContent">要打印的内容区域<div>
</body>
</html>